﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="../../Content/highlighter/scripts/shCore.js"></script>
    <script type="text/javascript" src="../../Content/highlighter/scripts/shBrushJScript.js"></script>
    <script type="text/javascript" src="../../Content/highlighter/scripts/shBrushCSharp.js"></script>
    <script type="text/javascript" src="../../Content/highlighter/scripts/shBrushXml.js"></script>
    <link type="text/css" rel="stylesheet" href="../../Content/highlighter/styles/shCore.css" />
    <link type="text/css" rel="stylesheet" href="../../Content/highlighter/styles/shCoreEclipse.css" />
    <script type="text/javascript">SyntaxHighlighter.all();</script>
</head>
<body>
    <h3>如何更改参数</h3>
    <b>调试文件</b>
    <pre class="brush:xml;">
        &lt;!DOCTYPE html>

        &lt;html xmlns="http://www.w3.org/1999/xhtml">
        &lt;head>
                &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                &lt;meta http-equiv="pragma" content="no-cache">
                &lt;meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
                &lt;meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
                &lt;title>&lt;/title>
                &lt;script src="http://localhost:8083/Scripts/Url.js">&lt;/script>
        &lt;/head>
        &lt;body>
            此文件负责跳转到 NFinalCorePlug.Controllers.IndexController 下的 Default 方法
            把此文件设为首页，即可调试对应的函数。
        &lt;/body>
        &lt;/html>
        &lt;script>
            var urlString = Url.NFinalCorePlug_Controllers_IndexController.Default();
            window.location.href = "http://localhost:8083" + urlString;
            /*此处的作用是跳转到控制器对应的行为函数中*/
        &lt;/script>    
    </pre>
    <b>添加参数id</b>
    <pre class="brush:xml;">
        &lt;!DOCTYPE html>

        &lt;html xmlns="http://www.w3.org/1999/xhtml">
        &lt;head>
                &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                &lt;meta http-equiv="pragma" content="no-cache">
                &lt;meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
                &lt;meta http-equiv="expires" content="Wed, 26 Feb 1997 08:21:57 GMT">
                &lt;title>&lt;/title>
                &lt;script src="http://localhost:8083/Scripts/Url.js">&lt;/script>
        &lt;/head>
        &lt;body>
            此文件负责跳转到 NFinalCorePlug.Controllers.IndexController 下的 Default 方法
            把此文件设为首页，即可调试对应的函数。
        &lt;/body>
        &lt;/html>
        &lt;script>
            var urlString = Url.NFinalCorePlug_Controllers_IndexController.Default();
            window.location.href = "http://localhost:8083" + urlString+"?id="+2;
        &lt;/script>    
    </pre>
</body>
</html>